You are here: AgileShapes > Premier Extension > Web Service

Web Service

An AgilePart activity that accesses a Web Service and its methods which are registered in AgilePoint Envision. The user can select the appropriate Web Service and its specific method using the Web Service shape.


NOTE: No overloaded methods.

NOTE: No circular type refs.

 

Design-Time Properties

NOTE: The following properties are always available for all instances of the AgilePart AgileShape. However, additional design-time properties will often be available for specific instances of the AgilePart AgileShape. The names, purposes, effect, and availability of these additional design-time properties will depend upon the specific .NET class associated with the AgilePart AgileShape instance.

 

(Name)

ReadOnly

Default value: Web Service

The display name of the AgileShape.

 

(UID)

ReadOnly

Default value: Web Service

The ID that uniquely identifies this AgileShape from all others within the same process template.

 

Description

Optional

NOTE: This property is ignored at runtime.

A description of the AgileShape. This property is primarily used as a means of recording additional notes, comments, and details about this AgileShape in order to make the process template more understandable to process modelers.

 

Incoming Email

Optional

The name of an Email Template that should be used to generate an automatic email notification when this AgileShape is entered at runtime. If this property is left blank, then an email notification will not be sent automatically when the AgileShape is entered at runtime. If this property is not blank, then an email notification will be dynamically constructed and sent at runtime (when the AgileShape is entered) using the specified Email Template.

 

Outgoing Email

Optional

The name of an Email Template that should be used to generate an automatic email notification when this AgileShape is exited at runtime. If this property is left blank, then an email notification will not be sent automatically when the AgileShape is exited at runtime. If this property is not blank, then an email notification will be dynamically constructed and sent at runtime (when the AgileShape is exited) using the specified Email Template.

 

Audit Level

Default value: High

This property determines the amount of process related data that is recorded to the workflow database. This property can be set at either the Process Template Properties layer or at the individual AgileShape layer. This property allows you to control the level of granularity in terms of the amount of process related data that is recorded to the workflow database. This property can be set to the following specific values:

 

NeedCallback

Default value: False

This property determines whether this AgileShape is exited immediately after invoking the Web service method, or will wait to exit until the activity’s status is explicitly updated to Complete. This property can be set to the following specific values:

 

Wait All Incoming

NOTE: This property is ignored at runtime unless the AgileShape has multiple In-Connectors.

Default value: False

When an AgileShape has multiple direct predecessors (i.e. it has multiple In-Connectors leading directly from other AgileShapes), this property determines how many of the predecessor AgileShapes must be exited (at runtime) before this AgileShape can be entered (at runtime). This property can be set to the following specific values:

 

MethodName

NOTE: This property can only be updated via the Configure property. See that property for additional information.

The name of the Web method (in the Web service specified by the URL property) that will be invoked at runtime (when the AgileShape is entered).

 

URL

NOTE: This property can only be updated via the Configure property.

See that property for additional information. The URL of the Web service that this AgileShape instance is associated with.

 

Configure

This property allows the process modeler to configure which Web service method should be invoked at runtime. It also allows the process modeler to configure the custom process attributes that should be associated with the Web service method’s parameters (if any), and the custom process attribute that will be used to store the Web service method’s return value (if any).

NOTE: Changes made to this property’s configuration may also update the values of the MethodName, URL, and/or XmlSerializeReturnValue properties.

 

NOTE: In some cases, the Type of the object instance returned by a Web method may need to implement the IConvertible interface in order for the Web method to be used with the Web Service AgileShape. Click the Ellipses button to open the Web Service Configuration dialog (as shown below).

 

 

Once the configuration dialog is open, enter the URL of a Web Service and click the Connect button. A list of the Web service’s available methods will be retrieved. Select the method you want to associate with this AgileShape. To configure the custom process attributes for the parameters and/or return value, simply click on an attribute (e.g. $piID) to highlight it, and then click on it again to modify the value.

 

NOTE: You may need pause briefly between clicks in order to get the dialog to enter edit mode properly.

 

 

Credential

Default value: {None}

This property allows the process modeler to configure which authentication credentials (i.e. windows user account) should be used to invoke the Web service method at runtime. Click the Ellipses button to open the Login dialog (as shown below).

 

 

Debug

Default value: True

This property determines whether the AgileShape will log additional progress and debugging messages to the AgilePoint Server log file at runtime. This property can be set to the following specific values:

 

Timeout

Default value: 600

Specifies the maximum amount of time (in seconds) that should be allowed for the completion of the Web service call associated with this AgileShape.

 

XmlSerializeReturnValue

Default value: False

This property determines whether the data returned by the Web service call invoked by this AgileShape will be serialized as XML or not. This property can be set to the following specific values: